package com.example.guardian.personalcenter;


import androidx.appcompat.app.ActionBar;
import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;

import com.example.guardian.R;

public class FeedbackHelp extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.personal_center_feedback_help);
        ActionBar actionBar = getSupportActionBar();
        if (actionBar != null){
            actionBar.hide();
        }
        Button back_button = findViewById(R.id.feedback_help_back_btn);
        back_button.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                FeedbackHelp.this.finish();
            }
        });
        Button up_button = findViewById(R.id.button_submit);
        EditText feedback = findViewById(R.id.feedback);
        up_button.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Toast.makeText(FeedbackHelp.this,"感谢您的反馈",Toast.LENGTH_SHORT).show();
                feedback.setText("");


            }
        });
    }
}